package com.openbravo.pos.ticket;

import com.openbravo.data.loader.IKeyed;
import java.io.Serializable;
import java.util.Date;

public class TaxInfo
  implements Serializable, IKeyed
{
  private static final long serialVersionUID = -2705212098856473043L;
  private String id;
  private String name;
  private String taxcategoryid;
  private Date validfrom;
  private String taxcustcategoryid;
  private String parentid;
  private double rate;
  private boolean cascade;
  private Integer order;

  public TaxInfo(String paramString1id, String paramString2name, String paramString3taxcategoryid, Date paramDate_validfrom, String paramString4taxcustcategoryid, String paramString5_parentid, double paramDouble_rate, boolean paramBoolean_cascade, Integer paramInteger_order)
  {
    this.id = paramString1id;
    this.name = paramString2name;
    this.taxcategoryid = paramString3taxcategoryid;
    this.validfrom = paramDate_validfrom;
    this.taxcustcategoryid = paramString4taxcustcategoryid;
    this.parentid = paramString5_parentid;
    this.rate = paramDouble_rate;
    this.cascade = paramBoolean_cascade;
    this.order = paramInteger_order;
  }

  public Object getKey()
  {
    return this.id;
  }

  public void setID(String paramString)
  {
    this.id = paramString;
  }

  public String getId()
  {
    return this.id;
  }

  public String getName()
  {
    return this.name;
  }

  public void setName(String paramString)
  {
    this.name = paramString;
  }

  public String getTaxCategoryID()
  {
    return this.taxcategoryid;
  }

  public void setTaxCategoryID(String paramString)
  {
    this.taxcategoryid = paramString;
  }

  public Date getValidFrom()
  {
    return this.validfrom;
  }

  public String getTaxCustCategoryID()
  {
    return this.taxcustcategoryid;
  }

  public void setTaxCustCategoryID(String paramString)
  {
    this.taxcustcategoryid = paramString;
  }

  public String getParentID()
  {
    return this.parentid;
  }

  public void setParentID(String paramString)
  {
    this.parentid = paramString;
  }

  public double getRate()
  {
    return this.rate;
  }

  public void setRate(double paramDouble)
  {
    this.rate = paramDouble;
  }

  public boolean isCascade()
  {
    return this.cascade;
  }

  public void setCascade(boolean paramBoolean)
  {
    this.cascade = paramBoolean;
  }

  public Integer getOrder()
  {
    return this.order;
  }

  public Integer getApplicationOrder()
  {
    return Integer.valueOf(this.order == null ? 2147483647 : this.order.intValue());
  }

  public void setOrder(Integer paramInteger)
  {
    this.order = paramInteger;
  }

  public String toString()
  {
    return this.name;
  }
}

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.pos.ticket.TaxInfo
 * JD-Core Version:    0.6.0
 */